package com.example.demo.utils;

public class CommonUtil {
    public static <T> T defaultIfAbsent(T value, T defaultValue) {
        return value == null ? defaultValue : value;
    }
}
